package net.xiaosaguo.mymall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * description: 线程池配置项配置类
 *
 * @author xiaosaguo
 * @date 2020/07/04
 */
@ConfigurationProperties(prefix = "mymall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
